public class WxUser implements Observer{
    //用户名
    private String userName;

    WxUser(String userName){
        this.userName = userName;
    }
    public void update(String message) {
        System.out.println("用户【"+this.userName+"】接收到消息:"+message);
    }
}

